.class Lcom/teewoo/app/bus/ui/Home4StaticMap$6;
.super Ljava/lang/Object;
.source "Home4StaticMap.java"

# interfaces
.implements Landroid/widget/TabHost$OnTabChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/Home4StaticMap;->initTabHost()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/Home4StaticMap;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    .line 346
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTabChanged(Ljava/lang/String;)V
    .locals 11
    .parameter "tabId"

    .prologue
    const v10, 0x7f020066

    const v9, 0x7f020059

    const v8, 0x7f020034

    const v7, 0x7f020009

    const v6, 0x1020006

    .line 353
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    iget-object v5, v5, Lcom/teewoo/app/bus/ui/Home4StaticMap;->staticMapTabHost:Landroid/widget/TabHost;

    invoke-virtual {v5}, Landroid/widget/TabHost;->getTabWidget()Landroid/widget/TabWidget;

    move-result-object v4

    .line 354
    .local v4, twe:Landroid/widget/TabWidget;
    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Landroid/widget/TabWidget;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 355
    .local v0, iv_tab1:Landroid/widget/ImageView;
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/widget/TabWidget;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 356
    .local v1, iv_tab2:Landroid/widget/ImageView;
    const/4 v5, 0x2

    invoke-virtual {v4, v5}, Landroid/widget/TabWidget;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    .line 357
    .local v2, iv_tab3:Landroid/widget/ImageView;
    const/4 v5, 0x3

    invoke-virtual {v4, v5}, Landroid/widget/TabWidget;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    .line 358
    .local v3, iv_tab4:Landroid/widget/ImageView;
    const-string v5, "tab_1"

    invoke-virtual {v5, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_1

    .line 359
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f020008

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 360
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 361
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v8}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 362
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v9}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 379
    :cond_0
    :goto_0
    return-void

    .line 363
    :cond_1
    const-string v5, "tab_2"

    invoke-virtual {v5, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 364
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v7}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 365
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f020065

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 366
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v8}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 367
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v9}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    .line 368
    :cond_2
    const-string v5, "tab_3"

    invoke-virtual {v5, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_3

    .line 369
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v7}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 370
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 371
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f020033

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 372
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v9}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    .line 373
    :cond_3
    const-string v5, "tab_4"

    invoke-virtual {v5, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 374
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v7}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 375
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 376
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v8}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 377
    iget-object v5, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$6;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v5}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f020054

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_0
.end method
